package com.ruoyi.gcgl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 安全生产检查记录对象 gc_check_records
 * 
 * @author ruoyi
 * @date 2023-05-02
 */
public class GcCheckRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 合同ID */
    @Excel(name = "合同ID")
    private Long gcProjectid;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String orderNo;

    /** 施工安装合同ID */
    @Excel(name = "施工安装合同ID")
    private Long sgazhtId;

    /** 工程名称 */
    @Excel(name = "工程名称")
    private String name;

    /** 检查人员 */
    @Excel(name = "检查人员")
    private String inspectors;

    /** 记录人 */
    @Excel(name = "记录人")
    private String recorder;

    /** 检查时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检查时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkAt;

    /** 检查部位 */
    @Excel(name = "检查部位")
    private String checkPoint;

    /** 检查情况 */
    @Excel(name = "检查情况")
    private String checkDescs;

    /** 整改意见 */
    @Excel(name = "整改意见")
    private String rectification;

    /** 项目负责人 */
    @Excel(name = "项目负责人")
    private String xmfzr;

    /** 项目负责人时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "项目负责人时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date xmfzrAt;

    /** 安全负责人 */
    @Excel(name = "安全负责人")
    private String secure;

    /** 安全负责人时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "安全负责人时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date secureAt;

    /** 附件 */
    @Excel(name = "附件")
    private String zlwj;

    /** 状态（0待审核，1通过，2拒绝） */
    @Excel(name = "状态", readConverterExp = "0=待审核，1通过，2拒绝")
    private Integer status;

    /** 删除标记 0:删除 1:没删除 */
    @Excel(name = "删除标记 0:删除 1:没删除")
    private Integer deleteFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateUser;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGcProjectid(Long gcProjectid) 
    {
        this.gcProjectid = gcProjectid;
    }

    public Long getGcProjectid() 
    {
        return gcProjectid;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setSgazhtId(Long sgazhtId) 
    {
        this.sgazhtId = sgazhtId;
    }

    public Long getSgazhtId() 
    {
        return sgazhtId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setInspectors(String inspectors) 
    {
        this.inspectors = inspectors;
    }

    public String getInspectors() 
    {
        return inspectors;
    }
    public void setRecorder(String recorder) 
    {
        this.recorder = recorder;
    }

    public String getRecorder() 
    {
        return recorder;
    }
    public void setCheckAt(Date checkAt) 
    {
        this.checkAt = checkAt;
    }

    public Date getCheckAt() 
    {
        return checkAt;
    }
    public void setCheckPoint(String checkPoint) 
    {
        this.checkPoint = checkPoint;
    }

    public String getCheckPoint() 
    {
        return checkPoint;
    }
    public void setCheckDescs(String checkDescs) 
    {
        this.checkDescs = checkDescs;
    }

    public String getCheckDescs() 
    {
        return checkDescs;
    }
    public void setRectification(String rectification) 
    {
        this.rectification = rectification;
    }

    public String getRectification() 
    {
        return rectification;
    }
    public void setXmfzr(String xmfzr) 
    {
        this.xmfzr = xmfzr;
    }

    public String getXmfzr() 
    {
        return xmfzr;
    }
    public void setXmfzrAt(Date xmfzrAt) 
    {
        this.xmfzrAt = xmfzrAt;
    }

    public Date getXmfzrAt() 
    {
        return xmfzrAt;
    }
    public void setSecure(String secure) 
    {
        this.secure = secure;
    }

    public String getSecure() 
    {
        return secure;
    }
    public void setSecureAt(Date secureAt) 
    {
        this.secureAt = secureAt;
    }

    public Date getSecureAt() 
    {
        return secureAt;
    }
    public void setZlwj(String zlwj) 
    {
        this.zlwj = zlwj;
    }

    public String getZlwj() 
    {
        return zlwj;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDeleteFlag(Integer deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag() 
    {
        return deleteFlag;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gcProjectid", getGcProjectid())
            .append("orderNo", getOrderNo())
            .append("sgazhtId", getSgazhtId())
            .append("name", getName())
            .append("inspectors", getInspectors())
            .append("recorder", getRecorder())
            .append("checkAt", getCheckAt())
            .append("checkPoint", getCheckPoint())
            .append("checkDescs", getCheckDescs())
            .append("rectification", getRectification())
            .append("xmfzr", getXmfzr())
            .append("xmfzrAt", getXmfzrAt())
            .append("secure", getSecure())
            .append("secureAt", getSecureAt())
            .append("zlwj", getZlwj())
            .append("status", getStatus())
            .append("deleteFlag", getDeleteFlag())
            .append("createUser", getCreateUser())
            .append("createAt", getCreateAt())
            .append("updateUser", getUpdateUser())
            .append("updateAt", getUpdateAt())
            .toString();
    }
}
